import request from '../utils/request'
// 获取轮播图接口
export function getBanner(){
  return request("/ljf/banner/list","get")
}
// 获取分类数据接口
export function getCate(){
  return request("/ljf/shop/goods/category/all","get")
}
// 获取滚动推荐部分数据
export function getRecommed(){
  return request("/ljf/site/goods/dynamic","get",{type:0})
}
// 获取商品列表接口
export function getProductList(data){
  return request("/ljf/shop/goods/list","post",data)
}
// 砍价设置
export function kanjiaSet(goodsId){
  return request("/ljf/shop/goods/kanjia/set/v2","get",{
    token:wx.getStorageSync("token"),
    goodsId:goodsId
  })
}
